'use strict';

// had enabled by egg
// exports.static = true;
exports.cors = {
    enable: true,
    package: 'egg-cors',
};
exports.security = {
    domainWhiteList: ['http://localhost:8080',
                      'http://127.0.0.1:8080',
                      'http://127.0.0.1:8020',
                      'http://127.0.0.1:9528',
                      'http://localhost:9528']
};
//exports.mongoose = {
//    enable: true,
//    package: 'egg-mongoose',
//}

//exports.mongodb = {
//    enable: true,
//    package: 'egg-mongodb'
//};

exports.mongo = {
  enable: true,
  package: 'egg-mongo-native',
};

exports.session = true;
